package com.chj.entity;

import java.math.BigDecimal;
import java.util.Date;

public class Park {

    public String parkId;//park_id varchar(32)
    public String parkName;//park_name   varchar(32)
    public String parkSize;//park_size   decimal(3,0)
    public BigDecimal parkPrice;//park_price  decimal(10,2)
    public int parkType;//park_type   int(1)
    public int parkStatus;//park_status int(11)
    public String networkId;//network_id varvhar
    public Date createDate;//create_date datetime
    public Date modifyDate;//modify_date datetime
    public Date deleteDate;//delete_date datetime
    public int status;//status  int(11)

    public String getParkId() {
        return parkId;
    }
    public void setParkId(String parkId) {
        this.parkId = parkId;
    }
    public String getParkName() {
        return parkName;
    }
    public void setParkName(String parkName) {
        this.parkName = parkName;
    }
    public String getParkSize() {
        return parkSize;
    }
    public void setParkSize(String parkSize) {
        this.parkSize = parkSize;
    }
    public BigDecimal getParkPrice() {
        return parkPrice;
    }
    public void setParkPrice(BigDecimal parkPrice) {
        this.parkPrice = parkPrice;
    }
    public int getParkType() {
        return parkType;
    }
    public void setParkType(int parkType) {
        this.parkType = parkType;
    }
    public int getParkStatus() {
        return parkStatus;
    }
    public void setParkStatus(int parkStatus) {
        this.parkStatus = parkStatus;
    }
    public Date getCreateDate() {
        return createDate;
    }
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
    public Date getModifyDate() {
        return modifyDate;
    }
    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }
    public Date getDeleteDate() {
        return deleteDate;
    }
    public void setDeleteDate(Date deleteDate) {
        this.deleteDate = deleteDate;
    }
    public int getStatus() {
        return status;
    }
    public void setStatus(int status) {
        this.status = status;
    }
    public String getNetworkId() {
        return networkId;
    }
    public void setNetworkId(String networkId) {
        this.networkId = networkId;
    }

    public Park(){
        super();
    }

    public Park(String parkName, String parkSize, BigDecimal parkPrice,
            String networkId) {
        super();
        this.parkName = parkName;
        this.parkSize = parkSize;
        this.parkPrice = parkPrice;
        this.networkId = networkId;

        //default value
        this.parkType   = 1;
        this.parkStatus = 1;
        this.createDate = new Date();
        this.modifyDate = null;
        this.deleteDate = null;
        this.status = 1;
    }

}
